﻿@{
    ViewBag.Title = " - 销售退货统计";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
 <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />

 <script type="text/javascript" language="javascript" src="../Content/componets/Lodop6.158/LodopFuncs.js"></script>
<object  id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0"> 
       <embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0"></embed>
</object>
}
@Scripts.Render("~/Content/js/Reports/SellReturnProduct.js")
<div>
<table>
    <tr>
        <td>发货单号：</td><td><input type="text" name="NumberNo" id="NumberNo" class="text" /></td>
        <td>产品信息：</td><td><input type="text" name="ProductInfo" id="ProductInfo" class="text" /></td>
        <td>开始时间：</td><td><input type="text" name="StartTime" id="StartTime" value="@(new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).ToString("yyyy-MM-dd"))" /></td>
        <td>结束时间：</td><td><input type="text" name="EndTime" id="EndTime" value="@DateTime.Now.ToString("yyyy-MM-dd")" /></td>
        <td> <p class="divSearch"> <input type="button" id="btnSearch" name="btnSearch" value="查  询" class="BtnSubmit"  /></p></td>
    </tr>
</table>
</div>
<input id="HidOrgCode" name="HidOrgCode" type="hidden" value="@ViewBag.OrgCode" />
<div id="ReportGrid" ></div>


<script language="javascript" type="text/javascript">
    var LODOP; //声明为全局变量 
    function prn1_preview() {
        CreateOneFormPage();
        LODOP.PREVIEW();
    };
    function CreateOneFormPage() {
        LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
        LODOP.PRINT_INIT("鑫胜泰电子销售退货统计打印");
        LODOP.SET_PRINT_STYLE("FontSize", 18);
        LODOP.SET_PRINT_STYLE("Bold", 1);
        LODOP.ADD_PRINT_HTM(20, 50, 600, 800, $("#ReportGrid .l-grid2").html());
    };

</script> 